var vueCommon = {
	{
  el: '#content',
  data: {
    message: 'Hello Vue!',
    username: '',
    password: '',
   	ship_company: [],
   	box_type: []
  },
  remoteConfigInit: function () {
  	$.get(.......);
  	$.get(.......);
  },
  localConfigInit: function () {
  	
  },
  beforeCreate: function () {
  	var t = this;
  	// 本地配置初始化
  	t.localConfigInit();
  	// 远程加载配置初始化
  	t.remoteConfigInit();
  },
  nativeListen: function () {
	mui.back = function(event) {
		backButtonPress++;
		if(backButtonPress > 1) {
			plus.runtime.quit();
		} else {
			plus.nativeUI.toast(tuichu);
		}
		setTimeout(function() {
			backButtonPress = 0;
		}, 1000);
		return false;
	};
  },
  created: function () {
  	var t = this;
  	// 事件初始化
  	mui.ready(function () {
  		t.nativeListen();
  	});
  	
	t.userInit();
  },
  mounted: function () {
  	// 页面渲染
  	// 1、准备数据
  	// 
  },
  postData: function () {
  	return {
  			username: t.username,
  			password: t.password
  	}
  },
  methods: {
  	submit: function () {
  		var t = this;
  		// 表单验证
  		t.postCheck();
  		// 获取提交数据
  		var data = t.postData();
  		// 提交
  		$.post();
  	}
  }
}
}


var formCommon = {
	data: {
		form1Data: {
			box_num: '',
			box_num: '',
			box_num: '',
			box_num: '',
		}
	},
	methods: {
		formSubmit: function (e) {
			var formName = $(this).data('form_name');
			
		}
	}
}
